package com.cfgj.service.impl;

import com.cfgj.entity.Fabu;
import com.cfgj.entity.GongGao;
import com.cfgj.mapper.CrowdFundingMapper;
import com.cfgj.mapper.GonggaoMapper;
import com.cfgj.service.GonggaoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.Time;
import java.util.List;
@Service
public class GonggaoServiceImpl implements GonggaoService  {
    @Autowired
    private GonggaoMapper gonggaoMapper;

    @Override
    public List<GongGao> findgonggao() {
        return gonggaoMapper.findgonggao();

    }

    @Override
    public void savegonggao(Fabu fabu) {
        gonggaoMapper.savegonggao(fabu);

    }


}
